<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/commons/taglibs.jsp" %>
<%@ taglib tagdir="/WEB-INF/tags/simpletable" prefix="simpletable"%>

<jsFileName><!--js/pageJS/page_pubXmjcb.js;js/My97DatePicker/WdatePicker.js--></jsFileName>
<s:form id="query_pubXmjcb_list_form" name="query_pubXmjcb_list_form" method="post" action="pubXmjcb/list.do">
<div  class="con_wrap_padding">
	<div class="trans_operate_box clearfix">
		<div class="operate_btns">			
			<a class="btn_short" href="javascript:void(0)" title="新建" onClick="Ext.milan.pagejs.page_pubXmjcb.showAddForm();">新 建</a>
		</div>
		<div class="trans_type_search">
			项目名称：<s:textfield name="xmmc" size="10"/>
	    	时间：<s:textfield name="sj" size="10" onclick="WdatePicker({dateFmt:'yyyy-MM'})"/>
	    	<a class="btn_short" name="button" id="button" href="javascript:void(0)" title="搜索" onclick="QueryPubXmjcbListUtils.query()">搜索</a>
		</div>   
	</div>
	<style type="text/css">
	<!--
		.TABLE {
			TABLE-LAYOUT: fixed
		}
		.TD {
			LEFT: 10px;
			WIDTH: 100%;
			WORD-WRAP: break-word
		}
		.maintable {
			width: 98%;
			border-collapse: collapse
		}
		.maintable .tr1 td{BACKGROUND-COLOR: #ebf7f8;}
		.maintable tbody td {
			border: 1px solid #9fccec;
			padding: 3px 4px;
			vertical-align: middle;
			HEIGHT: 25px;
			font-size: 12px;
			font-family: Arial,Verdana,Helvetica,sans-serif,"宋体";
			white-space: normal
		}
	-->
	</style>
	<table id="dataGridTable_pubXmjcb" width="98%" class="maintable">
		<tr class="tr1">
			<td align="center" rowspan="2" width="50">时间</td>
			<td align="center" rowspan="2">项目名称</td>
			<td align="center" rowspan="2">合同数量</td>
			<td align="center" rowspan="2">技术配置</td>
			<td align="center" colspan="4">现场进度</td>
			<td align="center" colspan="7">计划下达</td>
			<td align="center" rowspan="2">在制数量</td>
			<td align="center" rowspan="2">报检数量</td>
			<td align="center" rowspan="2">入库数量</td>
			<td align="center" rowspan="2">累计入库数量</td>
			<td align="center" rowspan="2">本月计划发货</td>
			<td align="center" rowspan="2">本月实发台数</td>
			<td align="center" rowspan="2">累计发货台数</td>
			<td align="center" rowspan="2">备注</td>
			<td align="center" rowspan="2">操作</td>
		</tr>
		<tr class="tr1">
			<td align="center">基础开挖</td>
			<td align="center">垫层浇筑</td>
			<td align="center">基础环安装</td>
			<td align="center">混凝土浇筑</td>
			<td align="center">主机计划下达</td>
			<td align="center">专用工具清单</td>
			<td align="center">塔筒物料清单</td>
			<td align="center">备品备件/易耗品</td>
			<td align="center">配电柜</td>
			<td align="center">监控柜</td>
			<td align="center">叶片</td>
		</tr>
		<c:forEach items="${page.result}" var="item" varStatus="status">
		<tr class="tr1">
			<td align="center">${item.sj}</td>
			<td align="center">${item.xmmc}</td>
			<td align="center">${item.htsl}</td>
			<td align="center">${item.jspz}</td>
			<td align="center">${item.jckw}</td>
			<td align="center">${item.dcjz}</td>
			<td align="center">${item.jchaz}</td>
			<td align="center">${item.hntxz}</td>
			<td align="center">${item.zjjhxd}</td>
			<td align="center">${item.zygjqd}</td>
			<td align="center">${item.ttwlqd}</td>
			<td align="center">${item.bpbjyhp}</td>
			<td align="center">${item.pdg}</td>
			<td align="center">${item.jkg}</td>
			<td align="center">${item.yp}</td>
			<td align="center">${item.zzsl}</td>
			<td align="center">${item.bjsl}</td>
			<td align="center">${item.rksl}</td>
			<td align="center">${item.ljrksl}</td>
			<td align="center">${item.byjhfh}</td>
			<td align="center">${item.bysfts}</td>
			<td align="center">${item.ljfhts}</td>
			<td align="center">${item.bz}</td>
			<td align="center">
				<a href="#" onclick="Ext.milan.pagejs.page_pubXmjcb.showEditForm('${item.id}')"><img src="skins/default/images/icons/ico-edit.gif" />编辑</a>&nbsp;
				<a href="#" onclick="Ext.milan.pagejs.page_pubXmjcb.deleteForm('${item.id}')"><img src="skins/default/images/icons/ico-delete.gif" />删除</a>
			</td>
			
		</tr>
		</c:forEach>
		
		<c:if test="${fn:length(page.result)==0}">
		<tr>
	    	<td colspan="24"><div class="note_red_in_div">系统没有查找到符合条件的数据！</div></td>
	    </tr>
	    </c:if>
	</table>
	<input type="hidden" name="pageNumber" value="${page.thisPageNumber}"/>
	<input type="hidden" name="pageSize" value="${page.pageSize}"/>
	<simpletable:pagingToolbar page="${page}"/>
 	</div>
</s:form>
<script type="text/javascript">;
	QueryPubXmjcbListUtils = {};
	
	/**
	 * 条件查询
	 */
	QueryPubXmjcbListUtils.query = function() {
		//强行设置当前页为第一页
		var currentPage = $("query_pubXmjcb_list_form").pageNo;
		if(currentPage) 
			currentPage.value = 1;
		
		Ext.milan.pagejs.page_pubXmjcb.query();
	};
	
</script>